package com.zzq.guli.service.base.properties;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;


@Data
@Configuration
@RefreshScope
//@ConfigurationProperties(prefix = "aliyun")
public class AliProperties {
    @Value("${aliyun.keyId}")
    private String keyId;
    @Value("${aliyun.keySecret}")
    private String keySecret;
    @Value("${aliyun.templateCode}")
    private String templateCode;
    @Value("${aliyun.signName}")
    private String signName;

}
